﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utility;

namespace HRM.DLL
{
    public class Common
    {
        public string Encrypt(string value, string key)
        {
            Cryptography obj_Cryptography = new Cryptography();
            String strEncryptValue = obj_Cryptography.Decrypt(value.Replace(" ", "+").Replace("ameba", "/"), key);
            return strEncryptValue;

        }
        public string Decrypt(string value, string key)
        {
            Cryptography obj_Cryptography = new Cryptography();
            String strDecryptValue = obj_Cryptography.Decrypt(value.Replace(" ", "+").Replace("ameba", "/"), key);
            return strDecryptValue;
        }

        public static string GetQueryStringValues()
        {
            common objCommon = new common();
            return objCommon.GetModuleandMenuID();
        }
    }
}
